package com.sinosun.autotestmachine.tools;

import java.util.Map;

public class TestConfig {
	
	public static String IBC_PUBLIC_KEY = "ibcPublicKey";
	public static String IBC_PARA_FILENAME = "ibcParaFilename";
	public static String IBC_APP_PRIVATE_FILENAME = "ibcAppPrivateFilename";
	public static String IBC_APP_PASSWORD = "ibcAppPassword";
	public static String RS_HOST = "rsHost";
	public static String RS_PORT = "rsPort";
	public static String APP_ID = "appId";
	public static String USERS = "users";
	public static String ENCRYPTION = "encryption";
	public static String AUTO_TEST_SERVER_HOST = "autoTestServerHost";
	public static String AUTO_TEST_SERVER_PORT = "autoTestServerPort";
	public static String TASK_READ_MODE = "taskReadMode";
	public static String MODE_JSON_NAME = "mode.json";
	
	private EnvTag mEnv;
	public TestConfig(EnvTag env) {
		mEnv = env;
	}
	
	public String getAutoTestServerHost() {
		return mEnv.getAutoTestServerHost();
	}
	
	public int getAutoTestServerPort() {
		return mEnv.getAutoTestServerPort();
	}
	
	public int getTaskReadMode() {
		return mEnv.getTaskReadMode();
	}
	
	public String getAppId() {
		return mEnv.getAppId();
	}
	
	public String getServerIp() {
		return mEnv.getServerIp();
	}
	
	public String getPort() {
		return mEnv.getPort();
	}
	
	public String getTokenKeyFileName() {
		return mEnv.getTokenKeyFileName();
	}
	
	public String getTokenPassword() {
		return mEnv.getTokenPassword();
	}
	
	public String getTokenKey() {
		return mEnv.getTokenKey();
	}
	
	public int getEncrption() {
		return mEnv.getEncrption();
	}
	
	public Map<String, String> getUsers() {
		return mEnv.getUsers();
	}
	
	public Map<String, String> getMsgContent() {
		return mEnv.getMsgContent();
	}
	
	public Map<String, String> getFileContent() {
		return mEnv.getFileContent();
	}
	
	public Map<String, String> getGroupContent() {
		return mEnv.getGroupContent();
	}
	
	public Map<String, String> getNotifyContent() {
		return mEnv.getNotifyContent();
	}
	
}
